#include "iLog.h"
#include "iLogDump.h"
#include <iostream>
iLog * iLog::pInstance = 0;

iLog::iLog(void)
{
	std::cout << "Hello";
	mLogDump = new iLogDump;
}

iLog::~iLog(void)
{
	if(pInstance) delete pInstance;
	delete mLogDump;
}

iLog* iLog::Inst()
{
	if(!pInstance)
	{
		pInstance = new iLog;
	}
	return pInstance;
}
